package com.seagull.core.test.desing.single;

/**
 * @author:jian.zhou
 * @DATE: 2017/12/20.
 * @Version:0.0.1
 * @Desc:
 */
public class B {

    private B(){}

    private static B b = null ;

    public static synchronized B getB (){
        if ( b == null ){
            return new B ();
        }
        return b;
    }
}
